FROM openjdk:8-jdk-alpine
VOLUME /tmp
ADD target/*.jar /app.jar
EXPOSE 8089
ENV JAVA_OPTS "-Xmx1g -Xms1g"
ENTRYPOINT java -Duser.timezone=GMT+08 ${JAVA_OPTS} -jar /app.jar
